package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.JobfilesDao;
import io.renren.entity.JobfilesEntity;
import io.renren.service.JobfilesService;



@Service("jobfilesService")
public class JobfilesServiceImpl implements JobfilesService {
	@Autowired
	private JobfilesDao jobfilesDao;
	
	@Override
	public JobfilesEntity queryObject(Integer id){
		return jobfilesDao.queryObject(id);
	}
	
	@Override
	public List<JobfilesEntity> queryList(Map<String, Object> map){
		return jobfilesDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return jobfilesDao.queryTotal(map);
	}
	
	@Override
	public void save(JobfilesEntity jobfiles){
		jobfilesDao.save(jobfiles);
	}
	
	@Override
	public void update(JobfilesEntity jobfiles){
		jobfilesDao.update(jobfiles);
	}
	
	@Override
	public void delete(Integer id){
		jobfilesDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		jobfilesDao.deleteBatch(ids);
	}
	
}
